<?php
/**
 * Created by PhpStorm.
 * User: 68008000
 * Date: 2017/11/27
 * Time: 11:01
 */

namespace app\admin\validate;


use think\Validate;

/**
 * Class GoodsList
 * @package app\admin\validate
 * 商品列表管理验证器
 */
class GoodsList extends Validate
{
    protected $rule = [
//        'gname'  => 'require',
        'glnumber' => 'require',
        'stock'=>'require',
//        'click'=>'require',
    ];

    protected $message = [
//        'gname.require'  => '请输入商品名称',
        'glnumber.require'  => '请输入商品货号',
        'stock.require'=>'请输入库存',

    ];
}